JMSetFrameVisibility
Assigns Mac OS window visibility properties to a frame.
OSStatus JMSetFrameVisibility ( JMFrameRef frame, GrafPtr framePort, Point frameOrigin, const RgnHandle frameClip);
frame
- The frame whose visibility you want to set.
framePort
- The graphics port to assign to the frame.
frameOrigin
- The location of the frame's origin, in global coordinates.
frameClip
- The clipping region for the frame.
- function result
- A result code; see "JManager Result Codes".
DISCUSSION
You use theJMSetFrameVisibility
function to pass Mac OS window visibility elements to the abstract frame. For example, if the user moves the window associated with the frame (by dragging or scrolling), you must update the frame's visibility by passing the new position of the frame inJMSetFrameVisibility
.SEE ALSO
- "Displaying Frames".